package cn.ywang.mybatis;

import cn.ywang.mybatis.old.*;

/**
 * V1.0测试
 */
public class OldTest {
	public static void main(String[] args) {
		SqlSession sqlSession = new SqlSession(new Configuration(), new Executor());
		TestTaskMapper testTaskMapper = sqlSession.getMapper(TestTaskMapper.class);
		TestTask testTask = testTaskMapper.selectTaskById(2);
		System.out.println(testTask);
	}
}
